package com.threefivework.mymall.dao.mapper;

import com.threefivework.mymall.model.domain.PaymentRecord;

import java.util.List;

/**
 * descripiton:
 *
 * @author: kinson(2219945910@qq.com)
 * @date: 2018/6/29
 * @time: 21:21
 * @modifier:
 * @since:
 */
public interface PaymentRecordMapper {

    List<PaymentRecord> list();

    Long insert(final PaymentRecord paymentRecord);

    Long batchInsert(final List<PaymentRecord> paymentRecords);

    PaymentRecord getByPK(final Integer id);

    void delete(final Integer id);
}
